package pack.jcus_notifier;
 

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.widget.ImageButton;
import android.view.View;
import android.view.View.OnClickListener;
 
public class Main extends Activity 
{
 
	ImageButton imageButton;
 
	@Override
	public void onCreate(Bundle savedInstanceState) 
	{
		super.onCreate(savedInstanceState);
		setContentView(R.layout.home);
 
		addListenerOnButton();
 
	}
 
	public void addListenerOnButton() 
	{
 
		imageButton = (ImageButton) findViewById(R.id.buttonl);
		
		imageButton.setOnClickListener(new OnClickListener() 
		{
			@Override
			public void onClick(View v) 
			{
				Intent JCintent = new Intent(Main.this, Home.class);
				Main.this.startActivity(JCintent);
			} 
			
 
		});
 
	}
 
}